﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FrameworkManapro.BusinessModel;

namespace GMAC.ReportingSystem.Business.Entities
{
    [DbProcedures(Insert = "procCallingIVRInsert", Update = "procCallingIVRUpdate", Delete = "procCallingIVRDelete")]
    public class CallingIVR: BusinessEntity
    {
        /// <summary>
        /// Gets or sets the ID.
        /// </summary>
        /// <value>The ID.</value>
        [EntityPrimaryKey]
        [DbParameter(0, 1, 1)]
        public int ID { get; set; }
        
        /// <summary>
        /// Gets or sets the DateCall.
        /// </summary>
        /// <value>The DateCall.</value>
        [EntityPrimaryKey]
        [DbParameter(1, 2, 0)]
        public DateTime DateCall { get; set; }

        /// <summary>
        /// Gets or sets the Calls.
        /// </summary>
        /// <value>The Calls.</value>
        [DbParameter(2, 3, 0)]
        public int Calls { get; set; }
    }
    public class CallingIVRCollection : List<CallingIVR>
    {
        public int TotalResults { get; set; }
    }
}
